﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.Login;

/// <summary>
///     登录模型
/// </summary>
public class LoginDTO
{
    /// <summary>
    ///     账号
    /// </summary>
    [Required(ErrorMessage = "账号不可为空")]
    public string Account { get; set; }

    /// <summary>
    ///     密码
    /// </summary>
    [Required(ErrorMessage = "密码不可为空")]
    public string Password { get; set; }
}